package com.zmc.product.infrastructure.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;

/**
 * 商品中心的品牌表
 * 
 * @author zmc
 * @email 
 * @date 2024-10-14 18:43:35
 */
@Data
@TableName("commodity_brand")
public class CommodityBrandEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private Long id;

	private Long userId;
	/**
	 * 品牌中文名
	 */
	private String chineseName;
	/**
	 * 品牌英文名
	 */
	private String englishName;
	/**
	 * 品牌别名
	 */
	private String aliasName;
	/**
	 * logo的图片路径
	 */
	private String logoPath;
	/**
	 * 品牌描述
	 */
	private String description;
	/**
	 * 商品图片地址
	 */
	private String picture;
	/**
	 * 品牌所在地
	 */
	private String location;
	/**
	 * 品牌说明备注
	 */
	private String remark;

	@TableField(value = "create_time", fill = FieldFill.INSERT)
	private LocalDateTime createTime;

	@TableField(value = "create_by")
	private String createBy;

	@TableField(value = "update_time", fill = FieldFill.UPDATE)
	private LocalDateTime updateTime;

	@TableField(value = "update_by")
	private String updateBy;

}
